//
//  CNNavViewController.m
//  BeeQuick_19
//
//  Created by kimi on 16/9/23.
//  Copyright © 2016年 CN Team. All rights reserved.
//

#import "CNNavViewController.h"
#import "CNNavMarketViewController.h"

@interface CNNavViewController ()

@end

@implementation CNNavViewController

- (instancetype)init{
    CNNavMarketViewController *homeVC = [CNNavMarketViewController new];
    return [super initWithRootViewController:homeVC];
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view.

    
    // 设置透明
//    [self.navigationBar setShadowImage:[[UIImage alloc] init]];
//    [self.navigationBar setBackgroundImage:[[UIImage alloc] init] forBarMetrics:UIBarMetricsDefault];
    // 设置nav所有的tintColor默认为白色
//    [self.navigationBar setTintColor:[UIColor blackColor]];
//    // 默认nav是白色的
//    [self.navigationBar setTitleTextAttributes:@{ NSForegroundColorAttributeName : [UIColor blackColor] }];
    
}

//- (void)pushViewController:(UIViewController*)viewController animated:(BOOL)animated
//{
//    
////    // 如果这个控制器不是第一个控制器,那么应该设置隐藏tabbar的属性
////    if (self.viewControllers.count > 0) {
////        viewController.hidesBottomBarWhenPushed = YES;
////    }
////    
////    [super pushViewController:viewController animated:animated];
//}

@end
